package com.example.factory.abstraction;

/**
 * Created by fjx on 2021/6/11
 */
public class AliOrderFactory implements IOrderFactory{

    @Override
    public IPayFactory createPay() {
        return new AliPay();
    }

    @Override
    public IRefundFactory createRefund() {
        return new AliRefund();
    }
}
